package example02;

public class Test {
    public static void main(String[] args) {


        Circle circle = new Circle();
        circle.setR(100);


        double s = circle.findArea();
        System.out.println("圆的面积为：" + s);

        Cylinder cylinder = new Cylinder();

        double s1 = cylinder.findArea();

        System.out.println("圆柱的体积：" +s1);
    }
}
